using System;
using System.Collections.Generic;
using System.Text;
using ERP.BusinessEntities.Base;
using ERP.DAL.Factory;
using System.Data;
namespace ERP.BusinessEntities
{

	public class BSConstsController:BaseBusinessController
	{
		public BSConstsController()
		{
			dal = FactoryDal.CreateEndDal("BSConsts");
		}

        public DataSet GetObjects(String strColumnName)
        {
            String strQuery = String.Format(@"SELECT * FROM BSConsts
                                                WHERE ColumnName = '{0}'
                                                Order By Ordr", strColumnName);

            return GetDataset(strQuery);
        }
	}
}
